import { createStore, compose } from "redux";

import  reducer from './reducer'

const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
// 4  创建store
const store = createStore(reducer, composeEnhancers());

export default store